//
//  CYDataAPIEnums.h
//  cyjf
//
//  Created by tauCross on 2017/5/12.
//  Copyright © 2017年 Auto Financing. All rights reserved.
//



#ifndef CYDataAPIEnums_h
#define CYDataAPIEnums_h







typedef NS_ENUM(NSUInteger, CYDataAPIActivityIconURLPosition) {
    CYDataAPIActivityIconURLPositionHome
};

NSString *ActivityIconURLPositionStringWithPosition(CYDataAPIActivityIconURLPosition position);





typedef NS_ENUM(NSUInteger, CYDataAPISMSCodeType) {
    CYDataAPISMSCodeTypeSignUp,
    CYDataAPISMSCodeTypeFindPassword,
    CYDataAPISMSCodeTypeBindCard
};

NSNumber *SMSCodeTypeStringWithType(CYDataAPISMSCodeType type);





typedef NS_ENUM(NSUInteger, CYDataAPIBannerPosition) {
    CYDataAPIBannerPositionHome
};

NSNumber *BannerPositionWithPosition(CYDataAPIBannerPosition position);





typedef NS_ENUM(NSUInteger, CYDataAPIPayWay) {
    CYDataAPIPayWayBaoFu
};

NSNumber *PayWayWithPayWay(CYDataAPIPayWay payWay);





typedef NS_ENUM(NSUInteger, CYDataAPIWalletDetailType) {
    CYDataAPIWalletDetailTypeIn,
    CYDataAPIWalletDetailTypeOut
};

NSNumber *WalletDetailTypeWithType(CYDataAPIWalletDetailType type);





typedef NS_ENUM(NSUInteger, CYDataAPIInvestRecordStatus) {
    CYDataAPIInvestRecordStatusNormal,
    CYDataAPIInvestRecordStatusComplete
};

NSNumber *InvestRecordStatusWithStatus(CYDataAPIInvestRecordStatus status);





typedef NS_ENUM(NSUInteger, CYDataAPIAdvertisementPosition) {
    CYDataAPIAdvertisementPositionLaunch,
    CYDataAPIAdvertisementPositionPopup,
    CYDataAPIAdvertisementPositionHomeItem,
    CYDataAPIAdvertisementPositionSuspend,
    CYDataAPIAdvertisementPositionDiscoverCull
};

NSNumber *AdvertisementPositionWithPosition(CYDataAPIAdvertisementPosition position);





typedef NS_ENUM(NSUInteger, CYDataAPICouponStatus) {
    CYDataAPICouponStatusAvailable,
    CYDataAPICouponStatusUsed,
    CYDataAPICouponStatusDisable
};

NSNumber *CouponStatusWithStatus(CYDataAPICouponStatus status);





typedef NS_ENUM(NSUInteger, CYDataAPIMessageType) {
    CYDataAPIMessageTypePerson,
    CYDataAPIMessageTypePublic
};

NSNumber *MessageTypeWithType(CYDataAPIMessageType type);

#endif /* CYDataAPIEnums_h */
